<%--
  Created by IntelliJ IDEA.
  User: GW6666
  Date: 2020-03-01
  Time: 18:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<H1>你已经登录成功了！这是主页</H1>
<%--<%--%>
<%--    //传统的拦截器 写在了jsp页面  额--%>
<%--    Object userSession = request.getSession().getAttribute("USER_SESSION");--%>
<%--    if (userSession==null){--%>
<%--        response.sendRedirect("/Login.jsp");--%>
<%--    }--%>
<%--%>--%>




<p>
    <a href="/servlet/logout">注销</a>
</p>

</body>
</html>
